<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>扇形</title>
    <style>
        .pie {
            position: relative;
            margin: 1em auto;
            padding: 0;
            width: 32em;
            height: 32em;
            border-radius: 50%;
            list-style: none;
            overflow: hidden;
            animation: rotateYuan 20s ease-out infinite;
        }
        @keyframes rotateYuan{
			0%{transform: rotate(0)}
			50%{transform: rotate(180deg)}
			100%{transform: rotate(360deg)}
		}
        .slice {
            overflow: hidden;
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 50%;
            transform-origin: 0% 100%;
        }

        .slice-one {
            transform: rotate(30deg) skewY(-30deg);
            background: skyblue;
        }

        .slice-two {
            transform: rotate(-30deg) skewY(-30deg);
            background: yellow;
        }

        .slice-three {
            transform: rotate(-90deg) skewY(-30deg);
            background: skyblue;
        }

        .slice-four {
            transform: rotate(-150deg) skewY(-30deg);
            background: yellow;
        }

        .slice-five {
            transform: rotate(-210deg) skewY(-30deg);
            background: skyblue;
        }

        .slice-six {
            transform: rotate(-270deg) skewY(-30deg);
            background: yellow;
        }

        .smallCircle {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: red;
            position: absolute;
            top: 222px;
            left: 405px;
            z-index: 999;
            line-height: 100px;
            text-align: center;
            cursor: pointer;
        }
        .jiantou {
            width: 0;
            height: 0;
            border-left: 25px solid transparent;
            border-right: 25px solid transparent;
            border-bottom: 60px solid red;
            position: absolute;
            top: -32px;
            left: 26px;
            z-index: -99;
        }
    </style>
</head>

<body>

    <ul class='pie'>
        <li class='slice-one slice'> </li>
        <li class='slice-two slice'> </li>
        <li class='slice-three slice'> </li>
       
        <li class='slice-four slice'> </li>
        <li class='slice-five slice'> </li>
        <li class='slice-six slice'> </li>
    </ul>
            <div class="smallCircle">
                点击抽奖
                <span class="jiantou"></span>
            </div>
</body>

</html>